package com.lxy.staff.model;

import lombok.Data;

@Data
public class User {
    private Integer id;

    private String uname;

    private String pwd;

    private Integer level;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uname=").append(uname);
        sb.append(", pwd=").append(pwd);
        sb.append(", level=").append(level);
        sb.append("]");
        return sb.toString();
    }
}